package com.bjwl.service;

import com.bjwl.pojo.IpRights;
import com.bjwl.pojo.dto.IpRightDto;

import java.util.List;

/**
 * @Author: dzx
 * @Date:Create：in 2020/5/25 9:17
 * @Description:
 * @Modified By：
 * @Version: 1.0
 */
public interface IpRightsService {
    boolean findIpRightByIpAndBsadmin(String ip, int id);

    void addIpRight(String ip, int id, String addr);

    List<IpRightDto> findAll();

    void update(IpRights ipRights);
}
